<template>
	<view class="content" style="background-color: #fff;">
		<u-navbar scrollable=false titleStyle="font-size:40rpx;color:#333" :placeholder='true' title="设置"
			:autoBack="true">
		</u-navbar>
		<view class="set">
			<u-cell-group :border="false">
				<u-cell title="账户与安全" isLink url="/pages/my/set/account"></u-cell>
				<!-- <u-cell title="实名认证" isLink url="/pages/my/set/real"></u-cell> -->
				<u-cell title="企业认证" isLink url="/myPackageA/certification/certification"></u-cell>
				<!-- <u-cell title="支付设置" isLink url="" @click="$my.go('/pages/my/set/payment')"></u-cell> -->
				<u-cell title="规则中心" isLink url="" @click="$my.go('/pages/my/set/rules')"></u-cell>
				<!-- <u-cell title="隐私协议" isLink url="/pages/my/set/Privacy"></u-cell>
				<u-cell title="用户协议" isLink url="/pages/my/privacyAndAgreements?type=3"></u-cell> -->
			</u-cell-group>
			<view class="box">
			</view> 
			<u-cell-group :border="false">
				<u-cell title="消息设置" isLink url="/pages/my/set/message"></u-cell>
				<u-cell title="清理缓存" value="10.23m" isLink url=""></u-cell>
				<u-cell title="关于奈喜" value="当前1.1.2版本" isLink url=""></u-cell>
			</u-cell-group>
			<view class="box1">
			</view>
			<view class="change homeRed fontS32" @click="$my.go('/pages/login/login')">
				切换账号
			</view>
			<view class="box1"></view>
			<view class="out fontS32 co9" @click="uLogin">退出当前账号</view>
		</view>
	</view>
</template> 
<script>
	export default {
		data() {
			return {}
		},
		
		methods: {
			uLogin(){
				// 退出账号
				uni.clearStorage('token');
				this.$my.go('/pages/login/login')
			},
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		

		.box {
			height: 50rpx;
			width: 100%;
			background-color: #f5f5f5;
			// border: 1px solid red;
		}

		.box1 {
			height: 30rpx;
			width: 100%;
			background-color: #f5f5f5;
			// border: 1px solid red;
		}

		.change {
			height: 90rpx;
			width: 100%;
			line-height: 90rpx;
			text-align: center;
		}

		.out {
			height: 90rpx;
			width: 100%;
			text-align: center;
			line-height: 90rpx;
		}
	}
</style>
